tools/libxc: Correct XC_DOM_PAGE_SIZE() to return a long long
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 19 Nov 2015 14:45:41 +0000 (14:45 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 20 Nov 2015 14:24:02 +0000 (14:24 +0000)
commitaec38117171b1fef50d6c3cf42dbd176907c7e18
treece737824ca3f58d8325d7f53520ac40aa1ead28f
parent225166ea901f0532454ef771f5d6b1e8528c21bd
tools/libxc: Correct XC_DOM_PAGE_SIZE() to return a long long

c/s abdf3c5b "libxc: create p2m list outside of kernel mapping if supported"
introduces a use which Coverity objects to; an int used to mask a uint64_t.

The result needs to be signed to allow ~XC_DOM_PAGE_SIZE() to function
correctly, and long long to function properly in 32bit builds.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxc/include/xc_dom.h